<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<LINK href="showAllOrg.files/style.htm" rel=stylesheet>
		<LINK href="showAllOrg.files/content.htm" rel=stylesheet>
 		
 		<script type="text/javascript">
		    var djConfig = {
				isDebug:true,
				parseOnLoad:true,
				usePlainJson:true
		    };
		</script>
		 
		<script type="text/javascript" src="dojo/dojo/dojo.js"></script>
		<script type="text/javascript" src="dojo/dijit/dijit.js"></script>

		<script type="text/javascript">
    		dojo.require("dijit.form.Button");
    		dojo.require("dojo.rpc.JsonService");    	
    	</script>
    	<script language="JavaScript" type="text/javascript">
    		var orderBoxService = new dojo.rpc.JsonService("box/order/OrderBoxService?smd");
    		var orderPlanImportService = new dojo.rpc.JsonService("box/alloc/OrderPlanImportService?smd");
			var makeShipperNoteService = new dojo.rpc.JsonService("box/order/MakeShipperNoteService?smd");

    		//页面加载时的一些操作
			dojo.addOnLoad(load);
			function load() {
				initPage();
			}
			function initPage() {
				makeShipperNoteService.getOrderPlan().addCallback(function (orderPlan) {
					makeShipperNoteService.getAllocDetails().addCallback(function (ad) {
						makeShipperNoteService.getShipperNote().addCallback(function (sn) {
							orderBoxService.getLoadLoc().addCallback(function (loadLoc) {
								console.dir(ad);
								document.getElementById("sn_id1").value = sn.id + "号备货通知";
								document.getElementById("last_modified_date").innerHTML = "制单日期：" + showDate();
								document.getElementById("sn_id2").innerHTML = "第" + sn.id + "号";
								document.getElementById("cancel_date").value = orderPlan.cancelTimeString;
								document.getElementById("sender_contact").innerHTML = ad.commission.sender.customerContact.name;
								document.getElementById("sender_contact_tel").innerHTML = ad.commission.sender.customerContact.OTel;
								document.getElementById("load_loc").value = loadLoc;
							});
						});
					});
				});
			}
			//得到当前日期
			function showDate() {
				var today = new Date();   
				var day = today.getDate();   
				var month = today.getMonth() + 1;   
				var year = today.getFullYear();   
				return year + "-" + month + "-" + day;
			}
			//关闭
			function myClose() {
				window.close();
			}
    	</script>
<script language="javascript">
function luyun(){
  var m_url = "陆运委托单明细.htm";
  var ppp = window.open(m_url,"","top=20,left=50,width=800,height=500, menubar=0,toolsbar=0,status=1,scrollbars=0,resizable=1");
  ppp.focus();
}

function goods(){
  var m_url = "goods.htm";
  var ppp = window.open(m_url,"","top=20,left=50,width=400,height=450, menubar=0,toolsbar=0,status=1,scrollbars=0,resizable=1");
  ppp.focus();
}

</script>

<title>备货通知单</title>
 
</head>

<body>

<font face="隶书" color="3656B9" ; style="font-size: 18px;">备货通知单</font><br>
<img src="showAllOrg.files/line2.gif"><br>

<center>

	<table width="700" border="0" cellpadding="0" cellspacing="0" >		
     	 <tr height="80">
       <td class="ctitle" ><input id="sn_id1" class ="billtitle" value="10022号备货通知" size=40></td>
      </tr>
	</table>

	<table width="760" border="0" cellpadding="0" cellspacing="0" >
    <tr>
    <td	id="last_modified_date" class="ctitle"  >制单日期：2008-01-02</td>
	    
	
    <td id="sn_id2" class="ctitle"   >
    第10022
    号
    </td>
	
	<td class="rtitle">单据类型：</td>  <td  	class="ltitle"><select name="Bill_type">
			<option value="I" selected="selected">初始化单据</option>
			  </select>        
          </td>
    </tr>
	</table>

	<table  class="titlearea" width="760" border="0" cellpadding="2" cellspacing="1">
	  <tr >
			 <td		class="rtitle" width=95>*发货人：</td>
			
             <td  id="sender_name"	class="ltitle">威海服装厂</td> 
             <td		class="rtitle" width=95>*装货地点：</td>
          <td  	class="ltitle"> <input id="load_loc" name="textfield2" type="text" value="威海大连路 100号"></td>
		  <td		class="rtitle" width=95>*截止日期：</td>
          <td  	class="ltitle"><input id="cancel_date" name="textfield3" type="text" value="2008-01-02">         
          </td>
      </tr >
		   
			
	  <tr>
          <td  	class="rtitle">联系人：</td> 
             <td	id="sender_contact"	class="ltitle" width=95>张三</td>
             <td  	class="rtitle">联系电话： </td>
		  <td	id="sender_contact_tel"	class="ltitle" width=95>0543-004332343</td>
          <td  	class="rtitle"> 通知方式：</td>
		  
		  <td colspan="3" class="rtitle">  
          
			电话
			  <input type="checkbox" name="checkbox" value="checkbox"> 
			  短信
			  <input type="checkbox" name="checkbox2" value="checkbox"> 
			  邮件
			  <input type="checkbox" name="checkbox3" value="checkbox"> 
			  其他	      </td>
      </tr>
	  
	</table>

<table width="760">
    <tr>
      <td class="rtitle">
	   
	    
	  <font face="Webdings" class="redcolor">4</font><a href="javascript:myClose()">确定</a>
      
	  </td>
	</tr>
</table>

</center>

</body>
</html>